package com.weizhong.update.model;import android.R.bool;

/**
 * 服务端返回的数据的实体类
 * 
 * @author Administrator
 * 
 */
public class ServerEntity {
 
	// 下载的url
	private String downloadUrl;
	// update 包的文件ming
	private String fileName;
	// 是否更新
	private boolean isUpdate;
	// 服务端版本
	private String serverVersion;
	// 从服务端返回的update.zip 的md5
	private String serverMd5;
	//更新信息
	private String updateInfo;
	
	private String serverSystemModel;
	// 文件大小
	private long fileSize;
	//是否强制安装模式	private boolean isForceMode;		//安装包类型	private int updateType;	//更新时间	private String updateTime;

	
	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}
	
	public String getUpdateInfo() {
		return updateInfo;
	}

	public void setUpdateInfo(String updateInfo) {
		this.updateInfo = updateInfo;
	}

	public ServerEntity() {
		// TODO Auto-generated constructor stub
	}

	public String getDownloadUrl() {
		return downloadUrl;
	}

	public void setDownloadUrl(String downloadUrl) {
		this.downloadUrl = downloadUrl;
	}

	public boolean isUpdate() {
		return isUpdate;
	}

	public void setUpdate(boolean isUpdate) {
		this.isUpdate = isUpdate;
	}

	public String getServerVersion() {
		return serverVersion;
	}

	public void setServerVersion(String serverVersion) {
		this.serverVersion = serverVersion;
	}

	public String getServerMd5() {
		return serverMd5;
	}

	public void setServerMd5(String serverMd5) {
		this.serverMd5 = serverMd5;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getServerSystemModel() {
		return serverSystemModel;
	}

	public void setServerSystemModel(String serverSystemModel) {
		this.serverSystemModel = serverSystemModel;
	}
	public boolean isForceMode(){		return isForceMode;	}		public void setInstallTag(boolean isForceMode){		this.isForceMode = isForceMode;	}	public int getUpdateType() {		return updateType;	}		public void setUpdateType(int updateType){		this.updateType = updateType;	}		public String getUpdateTime(){		return updateTime;	}		public void setUpdateTime(String updateTime) {		this.updateTime = updateTime;	}
}
